package 牛客周赛.牛客周赛Round87;

import java.util.Scanner;

/**
 * @Title: A
 * @Author 贾金博
 * @Package 牛客周赛Round87
 * @Date 2025/4/7 下午4:33
 * @description: This is A
 */
public class A {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a1 = sc.nextInt();
        int a2 = sc.nextInt();
        int a3 = sc.nextInt();

        if(a1 > a2 && a2 < a3) {
            System.out.println("YES");
        } else {
            System.out.println("NO");
        }

    }
}
